package com.modern.js.mapper;

import com.modern.js.pojo.AssistPojo;
import com.modern.js.pojo.RoleAssist;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AssistPojoMapper {

    int addEmployeeRole(AssistPojo assistPojo);

    int updateEmployeeRole(AssistPojo assistPojo);

    int updateDeptRole(AssistPojo assistPojo);

//    查询员工的人数
    RoleAssist selectCount(Integer roleId);
}
